package org.shushan.cloud.transaction.sample.service;


import org.shushan.cloud.transaction.sample.entity.RoleEntity;
import org.shushan.cloud.transaction.sample.vo.RolePageRequest;
import org.shushan.cloud.transaction.sample.vo.RoleRequest;
import org.shushan.cloud.transaction.sample.vo.RoleResponse;
import org.shushan.framework.mybatis.service.MybatisPlusService;

/**
 * @author zhigang.li
 * @date 2022/6/19
 
 
 */
public interface RoleService extends MybatisPlusService<RolePageRequest, RoleRequest, RoleResponse, String, RoleEntity> {
    //todo 覆盖toEntity或者toResponse的方法

    String test(String name, String id);

    String lock(int i) throws InterruptedException;

    void saveTransaction(RoleRequest request);
}
